package errcode

var (
	Success                   = NewError(0, "成功")
	ServerError               = NewError(10000000, "服务内部错误")
	InvalidParams             = NewError(10000001, "Params Error")
	NotFound                  = NewError(10000002, "Not Found")
	UnauthorizedAuthNotExist  = NewError(10000003, "鉴权失败，找不到对应的AppKey和AppSecret")
	UnauthorizedTokenError    = NewError(10000004, "Authentication failed ,Token error")
	UnauthorizedTokenTimeout  = NewError(10000005, "Authentication failed ,Token timeout")
	UnauthorizedTokenGenerate = NewError(10000006, "Authentication failed ,Token generate failure")
	TooManyRequests           = NewError(10000007, "请求过多")
	InvalidUser               = NewError(10000008, "invalid user")
	VerifyParamsError         = NewError(10000009, "验签不通过")
	CommonError               = NewError(10000010, "common error")
	InvalidParams2            = NewError(10000011, "Params Error %v")
)
